home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue68 / Soap / itec / CalcITEC.wsdl < prev    next >
Encoding:
Extensible Markup Language  |  2001-03-03  |  4.2 KB  |  102 lines

  1. <definitions  name ='CalcITEC'   targetNamespace = 'http://localhost/itec/CalcITEC.wsdl'
  2.      xmlns:tns='http://localhost/itec/CalcITEC.wsdl' 
  3.      xmlns:xsd1='http://localhost/itec/CalcITEC.xsd' 
  4.      xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' 
  5.      xmlns='http://schemas.xmlsoap.org/wsdl/'> 
  6.   <types>
  7.     <schema targetNamespace='http://localhost/itec/CalcITEC.xsd'
  8.       xmlns='http://www.w3.org/1999/XMLSchema'>
  9.     </schema>
  10.   </types>
  11.   <message name='Add'>
  12.     <part name='A' type='double'/>
  13.     <part name='B' type='double'/>
  14.   </message>
  15.   <message name='AddResponse'>
  16.     <part name='Result' type='double'/>
  17.   </message>
  18.   <message name='Subtract'>
  19.     <part name='A' type='double'/>
  20.     <part name='B' type='double'/>
  21.   </message>
  22.   <message name='SubtractResponse'>
  23.     <part name='Result' type='double'/>
  24.   </message>
  25.   <message name='Multiply'>
  26.     <part name='A' type='double'/>
  27.     <part name='B' type='double'/>
  28.   </message>
  29.   <message name='MultiplyResponse'>
  30.     <part name='Result' type='double'/>
  31.   </message>
  32.   <message name='Divide'>
  33.     <part name='A' type='double'/>
  34.     <part name='B' type='double'/>
  35.   </message>
  36.   <message name='DivideResponse'>
  37.     <part name='Result' type='double'/>
  38.   </message>
  39.   <portType name='CalcITECPortType'>
  40.     <operation name='Add' parameterOrder='AddInput1 AddInput2'>
  41.       <input message='tns:Add' />
  42.       <output message='tns:AddResponse' />
  43.     </operation>
  44.     <operation name='Subtract' parameterOrder='SubtractInput1 SubtractInput2'>
  45.       <input message='tns:Subtract' />
  46.       <output message='tns:SubtractResponse' />
  47.     </operation>
  48.     <operation name='Multiply' parameterOrder='MultiplyInput1 MultiplyInput2'>
  49.       <input message='tns:Multiply' />
  50.       <output message='tns:MultiplyResponse' />
  51.     </operation>
  52.     <operation name='Divide' parameterOrder='DivideInput1 DivideInput2'>
  53.       <input message='tns:Divide' />
  54.       <output message='tns:DivideResponse' />
  55.     </operation>
  56.   </portType>
  57.   <binding name='CalcITECBinding' type='tns:CalcITECPortType' >
  58.     <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http' />
  59.     <operation name='Add' >
  60.       <soap:operation soapAction='http://localhost/itec/CalcITEC.asp' />
  61.       <input>
  62.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  63.       </input>
  64.       <output>
  65.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  66.       </output>
  67.     </operation>
  68.     <operation name='Subtract' >
  69.       <soap:operation soapAction='http://localhost/itec/CalcITEC.asp' />
  70.       <input>
  71.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  72.       </input>
  73.       <output>
  74.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  75.       </output>
  76.     </operation>
  77.     <operation name='Multiply' >
  78.       <soap:operation soapAction='http://localhost/itec/CalcITEC.asp' />
  79.       <input>
  80.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  81.       </input>
  82.       <output>
  83.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  84.       </output>
  85.     </operation>
  86.     <operation name='Divide' >
  87.       <soap:operation soapAction='http://localhost/itec/CalcITEC.asp' />
  88.       <input>
  89.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  90.       </input>
  91.       <output>
  92.         <soap:body use='encoded' namespace='http://localhost/itec/CalcITEC.xsd'  encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' />
  93.       </output>
  94.     </operation>
  95.   </binding>
  96.   <service name='CalcITEC' >
  97.     <port name='CalcITECPortType' binding='tns:CalcITECBinding' >
  98.       <soap:address location='http://localhost/itec/CalcITEC.asp' />
  99.     </port>
  100.   </service>
  101. </definitions>
  102.